package com.cn.mapper.dao.db1.mc;

import com.cn.bean.pojo.mc.K3FlXx;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface K3WlXxSQDao {
    //查询耗用中的刀辊
    List<K3FlXx> selectK3FlXxSQAll(@Param("page") int page, @Param("limit") int limit, @Param("djBh") String djBh, @Param("k3Mc") String k3Mc, @Param("lx") String lx);

    int upDateK3FlXxShZt(@Param("djBh") String djBh,@Param("sqrGh") String sqrGh,@Param("sqrXm") String sqrXm,@Param("sqrBm") String sqrsqrBmXm,@Param("sqSj") String sqSj);
    K3FlXx selectK3FlXxDjBh(@Param("djBh") String djBh);
    int upDateK3FlXxShZt1(@Param("zt")int zt,@Param("djBh") String djBh,@Param("sqrGh") String sqrGh,@Param("sqrXm") String sqrXm,@Param("sqrBm") String sqrBm,@Param("sqSj") String sqSj);

    //退回
    int upDateK3FlXxShZt10(@Param("djBh") String djBh,@Param("sqrGh") String sqrGh,@Param("sqrXm") String sqrXm,@Param("sqrBm") String sqrBm,@Param("sqSj") String sqSj);

    int addK3FlXxInseart(@Param("K3FlXx")K3FlXx k3FlXx);
    int upDateK3FlXxUpdate(@Param("K3FlXx")K3FlXx k3FlXx);
    Integer  getK3WlXxSQDdBhZh(@Param("djBh")String djBh,@Param("zh")String zh);
}
